let utils = {
  formateImg (name) {
    let imgUrl = ''
    switch (name) {
      case '防火柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_fhg.png')
        break
      case '非防火柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_ffhg.png')
        break
      case '酸碱存储柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_sjccg.png')
        break
      case '器材柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_qcg.png')
        break
      case '放射源存储柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_fsyccg.png')
        break
      case '冷藏柜/冰箱':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_lcgbg.png')
        break
      case '毒麻品存储柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_dmpccg.png')
        break
      case '自燃/活性物质存储柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_zrhxwzccg.png')
        break
      case '防爆柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_fbg.png')
        break
      case '气瓶存储柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_qpccg.png')
        break
      case '通风试剂柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_tfsjg.png')
        break
      case '氧化剂存储柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_yhjccg.png')
        break
      case '一氧化碳检测探头':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_nott.png')
        break
      case '二氧化碳检测探头':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_co2tt.png')
        break
      case '氢气检测探头':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_h2tt.png')
        break
      default:
        imgUrl = ''
        break
    }
    return imgUrl
  },
  formateCheckedImg (name) {
    let imgUrl = ''
    switch (name) {
      case '防火柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_fhgpre.png')
        break
      case '非防火柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_ffhgpre.png')
        break
      case '酸碱存储柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_sjccgpre.png')
        break
      case '器材柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_qcgpre.png')
        break
      case '放射源存储柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_fsyccgpre.png')
        break
      case '冷藏柜/冰箱':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_lcgbgpre.png')
        break
      case '毒麻品存储柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_dmpccgpre.png')
        break
      case '自燃/活性物质存储柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_zrhxwzccgpre.png')
        break
      case '防爆柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_fbgpre.png')
        break
      case '气瓶存储柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_qpccgpre.png')
        break
      case '通风试剂柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_tfsjgpre.png')
        break
      case '氧化剂存储柜':
        imgUrl = require('@/assets/images/viewIcon/icon_fj_yhjccgpre.png')
        break
      default:
        imgUrl = ''
        break
    }
    return imgUrl
  },
  formateBigImg (name) {
    let imgUrl = ''
    switch (name) {
      case '防火柜':
        imgUrl = require('@/assets/images/modalDetail/icon_tc_fhg.png')
        break
      case '非防火柜':
        imgUrl = require('@/assets/images/modalDetail/icon_tc_ffhg.png')
        break
      case '酸碱存储柜':
        imgUrl = require('@/assets/images/modalDetail/icon_tc_sjccg.png')
        break
      case '器材柜':
        imgUrl = require('@/assets/images/modalDetail/icon_tc_qcg.png')
        break
      case '放射源存储柜':
        imgUrl = require('@/assets/images/modalDetail/icon_tc_fsyccg.png')
        break
      case '冷藏柜/冰箱':
        imgUrl = require('@/assets/images/modalDetail/icon_tc_lcgbg.png')
        break
      case '毒麻品存储柜':
        imgUrl = require('@/assets/images/modalDetail/icon_tc_dmpccg.png')
        break
      case '自燃/活性物质存储柜':
        imgUrl = require('@/assets/images/modalDetail/icon_tc_zrhxwzccg.png')
        break
      case '防爆柜':
        imgUrl = require('@/assets/images/modalDetail/icon_tc_fbg.png')
        break
      case '气瓶存储柜':
        imgUrl = require('@/assets/images/modalDetail/icon_tc_qpccg.png')
        break
      case '通风试剂柜':
        imgUrl = require('@/assets/images/modalDetail/icon_tc_tfsjg.png')
        break
      case '氧化剂存储柜':
        imgUrl = require('@/assets/images/modalDetail/icon_tc_yhjccg.png')
        break
      case '一氧化碳检测探头':
        imgUrl = require('@/assets/images/modalDetail/icon_tc_jctt_co2.png')
        break
      case '二氧化碳检测探头':
        imgUrl = require('@/assets/images/modalDetail/icon_tc_jctt_co2tt.png')
        break
      case '氢气检测探头':
        imgUrl = require('@/assets/images/modalDetail/icon_tc_jctt_h2tt.png')
        break
      default:
        imgUrl = ''
        break
    }
    return imgUrl
  }
}
export default utils
